|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.ueberdosis.mp3info.ID3Tag | +--de.ueberdosis.mp3info.ExtendedID3Tag
This class contains all interesting information about an mp3.
Field Summary | |
static java.lang.String[][] |
bitrates
String represenations of the bitrates |
static int[][] |
bitratesI
Int representations of the bitrates. |
static java.lang.String[] |
channelModes
String representation of the channel modes |
static int[] |
channels
Int representation of the channel modes. |
java.lang.String[] |
emps
String representation of the possible emphasis-values |
static java.lang.String[][] |
frequencies
String representation of the samplerates |
static int[][] |
frequenciesI
Int representation of the samplerates. |
Fields inherited from class de.ueberdosis.mp3info.ID3Tag |
genres |
Fields inherited from interface de.ueberdosis.mp3info.Defines |
DEFAULT_ENCODING, ID3V2_FOOTER_SIZE, ID3V2_FRAME_HEADER_SIZE, ID3V2_HEADER_SIZE, ID3V2_X_HEADER_SIZE, MP3_FRAME_HEADER_SIZE, SUPPORTED_NUMBER_OF_EXTENDED_FLAG_BYTES, testPositions, VERSION |
Constructor Summary | |
ExtendedID3Tag(de.ueberdosis.mp3info.ID3Tag tag)
|
Method Summary | |
int |
getBitrate()
gives you the bitrate-ID |
int |
getBitrate2I()
gives you the real lower bitrate or 0 if an error occured or this information is otherwise unavailable |
java.lang.String |
getBitrate2S()
|
int |
getBitrateI()
gives you the real higher bitrate or 0 if an error occured or this information is otherwise unavailable |
java.lang.String |
getBitrateS()
gives you a String representation of the bitrate |
int |
getChannelMode()
Gives you the channel Mode as an ID |
java.lang.String |
getChannelModeS()
Gives you a String representation of the channel mode |
boolean |
getCopyright()
Gets if the material contained in this mp3 is copyrighted |
boolean |
getCrc()
returns if CRC-Protection is on |
int |
getEmphasis()
gets the emphasis as an ID |
java.lang.String |
getEmphasisS()
Gives you a String representation of the emphasis used |
int |
getFramecount()
Gives you the frame count, or 0 if there has been an error counting |
int |
getFrequency()
Gets the samplerate as an ID. |
int |
getFrequencyI()
Gives you the real samplerate or 0 if this information is unavailable. |
java.lang.String |
getFrequencyS()
Gets a String representation of the samplerate. |
int |
getLayer()
gives the layer-ID @see setLayer |
int |
getLayerI()
|
java.lang.String |
getLayerS()
gives a String representation of the Layer |
int |
getMpegID()
returns the MpegID. |
java.lang.String |
getMpegIDS()
returns a String representation of the Mpeg-level. |
boolean |
getOriginal()
Gets if this mp3 is the original, or if it's only a copy |
boolean |
getPadding()
Gets if padding of the frame that supplied the extended information is on |
int |
getRuntime()
Gives you the running time in seconds. |
long |
getSize()
Gives the size of the examined file |
java.lang.String |
getTechnicalString()
gives you one line with technical information |
de.ueberdosis.mp3info.id3v2.ID3V2Tag |
getV2Tag()
|
void |
setBitrate(int b)
Sets the bitrate as an ID. |
void |
setBitrate2(int b)
Sets the lower bitrate as an ID. |
void |
setChannelMode(int mode)
Sets the channel Mode as an ID. |
void |
setCopyright(boolean cp)
Sets if the material contained in this mp3 is copyrighted |
void |
setCrc(boolean state)
Sets if CRC-protection is on |
void |
setEmphasis(int em)
Sets the emphasis as an ID |
void |
setFramecount(int count)
Sets the amount of frames contained in this file |
void |
setFrequency(int fre)
Sets the samplerate as an ID. |
void |
setKRuntime(long time)
Sets the running time of the examined file in milliseconds |
void |
setLayer(int l)
Sets the layer of the mp3. |
void |
setMpegID(int id)
Sets the id of MPeg. |
void |
setOriginal(boolean or)
Sets if this mp3 is the original, or if it's only a copy |
void |
setPadding(boolean pad)
Sets if padding of the frame that supplied the extended information is on |
void |
setRuntime(int time)
Deprecated. as of mp3info V 1.6 |
void |
setSize(long size)
Sets the size of the examined file |
java.lang.String |
toString()
creates a rather large String with all relevant information |
void |
updateBitrates(de.ueberdosis.mp3info.ExtendedID3Tag tag)
|
Methods inherited from class de.ueberdosis.mp3info.ID3Tag |
getAlbum, getArtist, getComment, getGenre, getGenreS, getTitle, getTrack, getTrackS, getYear, isValidTag, setAlbum, setArtist, setComment, setGenre, setGenre, setTitle, setTrack, setTrack, setYear, toByteArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String[][] bitrates
public static final int[][] bitratesI
public static final java.lang.String[][] frequencies
public static final int[][] frequenciesI
public static final java.lang.String[] channelModes
public static final int[] channels
public final java.lang.String[] emps
Constructor Detail |
public ExtendedID3Tag(de.ueberdosis.mp3info.ID3Tag tag)
Method Detail |
public void setMpegID(int id)
public int getMpegID()
setMpegID.
public java.lang.String getMpegIDS()
public void setLayer(int l)
public int getLayer()
public java.lang.String getLayerS()
public int getLayerI()
public void setBitrate(int b)
public void setBitrate2(int b)
public java.lang.String getBitrateS()
public int getBitrate()
public int getBitrateI()
public int getBitrate2I()
public java.lang.String getBitrate2S()
public void setCrc(boolean state)
public boolean getCrc()
public void setFrequency(int fre)
public int getFrequency()
public java.lang.String getFrequencyS()
public int getFrequencyI()
public void setPadding(boolean pad)
public boolean getPadding()
public void setChannelMode(int mode)
public int getChannelMode()
public java.lang.String getChannelModeS()
public void setCopyright(boolean cp)
public boolean getCopyright()
public void setOriginal(boolean or)
public boolean getOriginal()
public void setEmphasis(int em)
public int getEmphasis()
public java.lang.String getEmphasisS()
public long getSize()
public void setSize(long size)
public void setRuntime(int time)
public void setKRuntime(long time)
public int getRuntime()
public void setFramecount(int count)
public int getFramecount()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getTechnicalString()
public de.ueberdosis.mp3info.id3v2.ID3V2Tag getV2Tag()
public void updateBitrates(de.ueberdosis.mp3info.ExtendedID3Tag tag)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |